home *** CD-ROM | disk | FTP | other *** search
- global ColorAuthoringPath
- set cursor to "cross"
- put "Drag to place your new picture frame"
- wait until the mouseclick
- put the mouseloc into start
- put rubberbandRect(item 1 of start, item 2 of start) into where
- set cursor to watch
- put ResText("TEXT","scalerez", ColorAuthoringPath) into test
- set lockscreen to true
- domenu "New Button"
-
- if there is a bg btn "New Button" then
- put "bg btn id" && the id of bg btn "New Button" into unique
- do set the name of unique to "Scaling Rez"
- end if
-
- if there is a btn "New Button" then
- put "btn id" && the id of btn "New Button" into unique
- do set the name of unique to "Scaling Rez"
- end if
- do set the rect of unique to where
- do set the script of unique to test
- do set the style of unique to rectangle
- put "Here is your new Scaling-Resource picture frame"
- if the visible of window Tool is false then show Tool window at 100, 10
- choose "Browse" tool